package com.antdesignbackend.backend.common.http;

/**
 * 请求类型
 */
public enum RequestType {
    JSON(0, "json"),
    FORM_URLENCODED(1, "for_urlencoded"),
    FORM_URLENCODED_TEXT_HTML(2, "x-www-form-urlencoded_text/html");

    private Integer code;
    private String typeStr;

    RequestType(Integer code, String typeStr) {
        this.code = code;
        this.typeStr = typeStr;
    }
}
